<div class="header w-full clearfix">
    <div class="top-nav w"></div>
    <div class="top-nav w clearfix">
        <a alt="安踏官方商城" href="/" class="logo"><img src="/static/index/picture/logo_1.jpg" /></a>
        <p class="logo-box" id="login">
            {if $Think.session.user}
            <a href="{:url('user/User/member')}">欢迎您，{$Think.session.user.username}</a>|
            <a href="{:url('user/Login/logout')}">退出</a>
            {else}
            <a href="{:url('user/Login/login')}">登录</a>|
            <a href="{:url('user/Login/register')}">注册</a>
            {/if}
        </p>
        <ul class="quick-menu clearfix">
            <li class="first-item">
                <a href="/kuaidi">订单查询</a>|</li>
            <li><i class="icon icon-cart"></i>
                <a class="" href="{:url('user/cart/info')}">购物车<span class="cart-num">({$cart_count})</span>件</a></li>
        </ul>
    </div>
    <div class="nav w-full">
        <div class="main-nav w clearfix">
            <!-- 左侧导航条 -->
            <div class="all-styles">
                <a class="all-styles-title" title="查找所有商品分类" href="{:url('index/Categorys/index',array('id'=>0))}">所有产品分类</a>
                <ul class="all-styles-tab hide">
                    {volist name="category" id="vo_category"}
                    <li>
                        <h3><a title="{$vo_category.cate_name}"  href="{:url('index/Categorys/index',array('id'=>$vo_category.id))}">{$vo_category.cate_name}</a></h3>
                    </li>
                    {/volist}
                </ul>
            </div>
            <!-- 左侧导航条 END -->
            <!-- 横向导航条 -->
            <ul class="line-nav clearfix">
                <li class="item">
                    <a href="/">首页</a>
                </li>
                <!-- 首页栏目-->
                {volist name="recommend" id="vo_recommend"}
                <li class="item">
                    <a href="{:url('index/Column/index',array('id'=>$vo_recommend.id))}">{$vo_recommend.name}</a>
                </li>
                {/volist}
                <!-- 首页栏目end-->
            </ul>
            <!-- 横向导航条 END -->
            <div class="nav-search">
                <input type="text"  name="key" class="nav-search-input" id="search_box" value="" >
                <a id="search" url="{:url('index/goods/search')}" class="nav-search-btn"></a>
                <!--搜索热词-->
                <div class="suggestion">
                    <div class="hotwords">
                        <ul class="hotwords-list">
                            <?php foreach($confKey as $key):?>
                            <li><a href="{:url('index/goods/search')}?key={$key}">{$key}</a></li>
                            <?php endforeach;?>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>

</div>
